using System.Collections.Generic;
using System.Text.Json.Serialization;

namespace Eamon.MeituanDotnetSDK.model.ddzh.ugc.ugcQuerystar
{
    /// <summary>
    /// 查询门店星级和单项分
    /// </summary>
    public class UgcQuerystarResponse
    {
        /// <summary>
        /// 点评平台和美团平台一致，50代表5星
        /// </summary>
        [JsonPropertyName("shopStar")]
        public int? ShopStar { get; set; }

        /// <summary>
        /// 单项分,部分类目为空
        /// </summary>
        [JsonPropertyName("subScore")]
        public List<SubScore> SubScore { get; set; }

        public override string ToString()
        {
            return $"UgcQuerystarResponse{{ShopStar={ShopStar}, SubScore={SubScore}}}";
        }
    }
}
